#include <initializer_list>
#include <iostream>
using namespace std;
template<class T>
class Vector {
public:
	// ... 
	/*Vector(initializer_list<T> l) : _capacity(l.size()), _size(0)
	{
		_array = new T[_capacity];
		for (auto e : l)
			_array[_size++] = e;
	}*/

	Vector() :_size(0)
	{
		_array = new T[_size];
		for (auto e : l)
			_array[_size++] = e;
	}

	Vector<T>& operator=(initializer_list<T> l) {
		delete[] _array;
		size_t i = 0;
		for (auto e : l)
			_array[i++] = e;
		return *this;
	}
	// ...
private:
	T* _array;
	size_t _capacity;
	size_t _size;
};
int main() {
	Vector<int> v();
	return 0;
}
